package com.biboheart.breport.engine.compile;

import com.biboheart.breport.template.BrTemplateNode;

import java.util.Map;

public class ExtractorDirect implements Extractor {
    @Override
    public Object extract(Map<String, Object> input, BrTemplateNode templateNode) {
        return input.get(templateNode.getSn());
    }
}
